package com.gpframework.module.common.domain.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

/**
 * @ClassName CommonWxUserUpdate
 * @Author gpframework
 * @Date 2022-04-07
 * @Version 1.0.0
 * @Description 微信用户更新请求体对象
 */
@Data
@ToString
@Validated
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class CommonWxUserUpdate extends CommonWxUserAdd {

    @NotNull(message = "主键不能为空")
    @ApiModelProperty(value = "主键", required = true)
    private Long wxUserId;

    /**
     * 新的手机号
     */
    @ApiModelProperty("新的手机号")
    private String newPhone;

    @ApiModelProperty("验证码")
    private String code;

    @ApiModelProperty("是否是前台录入人脸 1是 0否")
    private String isReception;
}
